package com.gouying.design.patterns.medior;

public class Plane2 extends AbstractPlane {
    Plane2(Tower tower) {
        super(tower);
    }

    @Override
    void fly() {
        System.out.println("plane2 申请起飞");
        tower.action(this,"fly");
    }

    @Override
    void flow() {
        System.out.println("plane2 申请降落");
        tower.action(this,"flow");
    }
}
